home *** CD-ROM | disk | FTP | other *** search
/ TOS Silver 2000 / TOS Silver 2000.iso / Anwendun / Pov / POV302 / UTILS / README.TXT < prev    next >
Encoding:
Text File  |  1997-07-13  |  1.6 KB  |  47 lines

  1.  
  2. Setting up the stack size for POVRAY.TTP:
  3. -----------------------------------------
  4.  
  5. When these binaries were compiled, the stack size was set to a fairly
  6. low value of 64k. That is enough for the scenes I have tested, but it
  7. may not be enough for super-scenes that could depend on a really deep
  8. stack for parsing or even tracing. Alternatively, you may wish to 
  9. reduce the size of the stack in order to release some memory on an
  10. ST with only 2MB RAM (which is really the smallest platform you could
  11. realistically hope to use with POVRay v3).
  12.  
  13. To set the stack size for any of the supplied binaries, simply use
  14. the FIXSTK.TTP program like this:
  15.  
  16.  fixstk.ttp <stacksize_in_bytes> povray.ttp
  17.  
  18. For example:
  19.  
  20.  fixstk.ttp 65536 povray.ttp
  21.  
  22. The above would produce a 64k stack, which is the current default.
  23.  
  24. Reducing the size of POVRAY.TTP:
  25. --------------------------------
  26.  
  27. If for any reason you might want to reduce the size of any of the
  28. supplied binaries to their absolute minimum, you can strip all of
  29. the debugging information out of the file. This will make the .TTP
  30. smaller, but it won't save you any memory. It will also stop you
  31. from ever using FIXSTK.TTP on the binary at any point in the future
  32. since the debugging information is needed for the stack size to be
  33. changed successfully (that's why I didn't strip the binaries myself).
  34.  
  35. If you do decide you want to strip the symbol table away, use the
  36. STRIP.TTP program like this:
  37.  
  38.  strip.ttp povray.ttp
  39.  
  40. You can use STRIP.TTP on any executable with a symbol table still
  41. present, but be careful not to damage anything that might require
  42. those symbols!
  43.  
  44.  
  45. Doug Little ~ July 1997
  46.  
  47.